#include "library/test_tool/memory_leak.h"
#include "library/unit_test/unit_test.h"
#include "library/base/guid.h"

using namespace Base;

TESTCASE(Guid)
{
	Guid guid = Guid::NewGuid();
	ASSERT(Guid(guid.GetValue()).ToWString() == guid.ToWString(), "Guid(const GUID& value)");
	ASSERT(Guid(guid).ToWString() == guid.ToWString(), "Guid(const Guid& guid)");
}